/**
 * ----------------------------------------------------------------------------
 * Copyright Jens Konopka
 * 
 * Alle Rechte vorbehalten.
 * Licence: Apache 2.0
 * ----------------------------------------------------------------------------
 *
 * created on 06.03.2012 by jk
 */
package de.sql.toolkit.generator;

import java.io.File;

import de.sql.toolkit.model.Table;

/**
 * @author jk
 *
 */
public abstract class AbstractCSharpModelGenerator extends AbstractGenerator {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7132932462172061512L;

	/**
	 * @param table
	 * @param dstPath
	 */
	public AbstractCSharpModelGenerator(Table table, File dstPath) {
		super(table, dstPath);
	}
	
	/**
	 * @param column
	 * @return
	 */
	protected String prepareName(String name) {
		name = name.replaceAll(" ", "");
		// name = name.replaceAll("_", "");
		// name = name.replaceAll(".", "");
		name = name.toLowerCase();
		return name;
	}

}
